how to find remainder using binomial theorem